import { Navigate } from 'react-router-dom'
import { RouteObject } from '@/router/interface'
/** 首页 */
import BiliBiliAnimation from '../views/BilibiliAnimation'
// 404
import NotFound from '@/apps/all-in-one/NotFound'

const ModuleTestRouter: RouteObject[] = [
	{
		path: '',
		element: <Navigate to='home' />
	},
  {
	  path: 'home',
		element: <BiliBiliAnimation />,
		meta: {
			requireAuth: true,
			title: 'bug-manager',
			key: 'bug-manager-home'
		}
	},
	{
		path: '*',
		element: <NotFound />,
	}
]
export default ModuleTestRouter
